import request from '@/utils/request'
//民主测评
export function getRankList(data) {
  return request({
    url: '/tableRank/list',
    method: 'post',
    data
  })
}
export function getRoleList(data) {
  return request({
    url: '/role/list',
    method: 'post',
    data
  })
}

export function createRank(data) {
  return request({
    url: '/tableRank/create',
    method: 'post',
    data
  })

}


export function updateRank(data) {
  return request({
    url: '/tableRank/update',
    method: 'put',
    data
  })
}

export function deleteRank(data) {
  return request({
    url: '/tableRank/delete',
    method: 'delete',
    data
  })
}





